//
//  LKUserInfor.m
//  Mideleague_Shop
//
//  Created by Zhiwang on 2020/6/1.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKUserInfor.h"

@implementation LKUserInfor

+ (instancetype)accountWithDict:(NSDictionary *)dict
{
    LKUserInfor *account = [LKUserInfor modelWithDictionary:dict];
    account.token = [NSString stringWithFormat:@"%@", account.token];
    return account;
}
+(BOOL)supportsSecureCoding{
    return YES;
}
-(void)encodeWithCoder:(NSCoder *)aCoder{
    [self modelEncodeWithCoder:aCoder];
}
-(instancetype)initWithCoder:(NSCoder *)aDecoder{
    return [self modelInitWithCoder:aDecoder];
}
-(id)copyWithZone:(NSZone *)zone{
    return [self modelCopy];
}
@end
